<h3><{$app.mod.name.value}><{$smarty.const._AM_XNEWS_TOPICS_LIST}></h3>

<ul class="toptab">
	<li><a href="./index.php?action_admin_news_topic_edit=1"><{$smarty.const._AM_XNEWS_TOPICS_CREATE}></a></li>
</ul>
<{if count($app.topics)==0}>
<p><{$app.mod.name.value}><{$smarty.const._AM_XNEWS_TOPICS_NOT_EXISTS}></p>
<{else}>
<table class="outer">
<tr>
	<th>ID</th>
	<th><{$smarty.const._MI_XNEWS_AF_topic_title}></th>
	<th><{$smarty.const._MI_XNEWS_AF_topic_weight}></th>
	<th><{$smarty.const._MI_XNEWS_AF_topic_alias}></th>
	<th><{$smarty.const._MI_XNEWS_AF_topic_pid}></th>
	<th><{$smarty.const._MI_XNEWS_ARTICLE_NUM}></th>
	<th><{$smarty.const._EDIT}></th>
</tr>
<{foreach from=$app.topics item=t}>
<tr class="<{if $t.topic_pid==0}>odd<{else}>even<{/if}>">
	<td><{$t.topic_id}></td>
	<td><{"."|str_replace:"&nbsp;&nbsp;&nbsp;":$t.prefix}><{$t.topic_title}></td>
	<td><{$t.topic_weight}></td>
	<td><{$t.topic_alias}></td>
	<td><{$t.topic_pid}></td>
	<td><{$t.topic_articles}></td>
	<td><a href="./index.php?action_admin_news_topic_edit=1&amp;topic_id=<{$t.topic_id}>"><{$smarty.const._EDIT}><a/>&nbsp;|&nbsp;
		<a href="./index.php?action_admin_news_topic_remove=1&amp;topic_id=<{$t.topic_id}>"><{$smarty.const._DELETE}><a/>
	</td></tr>
<{/foreach}>
</table>
<{/if}>